﻿using System.Collections.Generic;
using System.Linq;

namespace Amiable.Core.BotEvents.Models
{
    public class XdConfiguration
    {
        public List<long> EnableGroups { get; set; } = new();
        public long Robot { get; set; } = new();
        public int Port { get; set; } = 11451;
        public List<string> EnableRepos { get; set; } = new();

        public static XdConfiguration GetDefault()
        {
            return new XdConfiguration()
            {
                EnableGroups = new long[] { 1147064532 }.ToList(),
                EnableRepos = new[]
                {
                    "heerkaisair/horse-race-ami",
                    "heerkaisair/xd-xd-bot",
                    "heerkaisair/ami-sign-ins"
                }.ToList()
            };
        }
    }
}